package day0427.com;/*
 * @创建者：黄苟苟
 * @创建时间：2021/4/27   15:23
 * @Description描述
 **/

import org.apache.log4j.Logger;

public class Log4gTest {
    static Logger logger= Logger.getLogger(Log4gTest.class);

    public static void main(String[] args) {
        try {
           int[] ints=new int[3];
           logger.debug("ints初始化");
           ints[0]=2;
           logger.debug("赋值2");
           ints[3]=4;
           logger.debug("赋值4");

        } catch (Exception e) {
           logger.error(ExpTools.getExceptionMessage(e));
        }
        //error<warn<info<debug
    }
}
